<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>照片墙</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        ul{
            /* 499 × 312 */
            /* width: 499px; */
            /* height: 312px; */
            margin: 100px auto;
            text-align: center;
        }
        li{
            list-style: none;
        }
        ul li{
            display: inline-block;
            width: 150px;
            height: 200px;
            border: 3px solid #FFF;
            box-shadow: 0 0 10px #000;
            transition: transform 1s;
        }

        ul li:nth-child(1){
            transform: rotateZ(45deg);
        }

        ul li:nth-child(2){
            transform: rotateZ(-45deg);
        }

        ul li:nth-child(3){
            transform: rotateZ(30deg);
        }

        ul li:nth-child(4){
            transform: rotateZ(-50deg);
        }
        ul li img{
            /* width: auto;
            height: auto; */
            max-width: 100%;
            max-height: 100%;
        }
        ul li:hover{
            transform: none;
            transform: scale(1.5);
            position: relative;
            z-index: 999;
        }
    </style>
</head>
<body>
    <ul>
        <li><img src="Source/1.jpg" alt=""></li>
        <li><img src="Source/2.jpg" alt=""></li>
        <li><img src="Source/3.jpg" alt=""></li>
        <li><img src="Source/4.jpg" alt=""></li>
    </ul>
</body>
</html>